package com.yyryyty.chapter3;

import java.util.Arrays;
import java.util.List;

/**
 * @Description :
 * @Author : YTY
 * @Date : 2021-01-16 09:33
 */
public class Lambdas {
    public static void main(String[] args) {

//        new Thread(() -> System.out.println("Hello World")).start();

        List<String> str = Arrays.asList("a", "b", "A", "B", "c", "C");
        System.out.println(str);

        str.sort(String::compareToIgnoreCase);
        System.out.println(str);
    }
}
